package xyz.worldzhile.choice.base;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
public class RequestVo<T> {

    private RequestVo.ReqHead head;


    T body;

    public ReqHead getHead() {
        return head;
    }

    public void setHead(ReqHead head) {
        this.head = head;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }

    @Data
    @NoArgsConstructor
    @ToString
    public static class ReqHead{
        private String reqSys;
        private String transCode;
        private String traceId;
    }

}
